package
{
	
	import flash.display.Loader;
	import flash.display.Sprite;
	import flash.events.*;
	import flash.geom.Rectangle;
	import flash.net.URLLoader;
	import flash.net.URLRequest;
	import flash.text.TextField;
	import flash.system.Security;
	
	import manager.GameMgr;
	
	/**
	 * -- DStepFighting --
	 * @desc	main class of game
	 * @author	Aqua (built on 2011-11-08)
	 */
	[SWF(width='950',height='900',frameRate='30',backgroundColor='#000000')]
	public class DStepFighting extends Sprite 
	{
		
		public function DStepFighting():void 
		{
			if (stage) init();
			else addEventListener(Event.ADDED_TO_STAGE, init);
		}
		
		private function init(e:Event = null):void 
		{
			removeEventListener(Event.ADDED_TO_STAGE, init);
			// entry point
			
			GameMgr.instance.startUp(this);
		}
		
	}
	
}